from django.urls import path,include
from file.views_pak.knowbase_views import KnowBaseViewSet
from file.views_pak.file_views import FileViewSet
from file.views_pak.textvector_views import TextVectorViewSet
from rest_framework.routers import DefaultRouter
from core.routers import NoTrailingSlashRouter
router = NoTrailingSlashRouter()
router.register('knowbase',KnowBaseViewSet,basename='knowbase')
router.register('file',FileViewSet,basename='file')
router.register('textvector',TextVectorViewSet,basename='textvector')
urlpatterns = [
    path('', include(router.urls)),
]
